package com.javakc.platform.components.base.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.javakc.platform.components.base.entity.Base;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author zhouhonggang
 * @version 1.0.0
 * @project springboot-development-platform
 * @datetime 2022-04-12 17:35
 * @description: [公共逻辑层实现类]
 */
@Transactional(
        timeout = 60,
        readOnly = true,
        rollbackFor = Exception.class,
        noRollbackFor = RuntimeException.class
)
public abstract class BaseService<D extends BaseMapper<T>, T extends Base> extends ServiceImpl<D, T> {

}
